<script type="text/javascript">
    jQuery(document).ready(function(){
        // binds form submission and fields to the validation engine
        jQuery("#ClienteInsertarForm").validationEngine();
    });
</script>
<!-- Columns -->
<div id="cols" class="box"> 

    <!-- Aside (Left Column) -->
    <div id="aside" class="box">
        <div class="padding box"> 

            <!-- Logo (Max. width = 200px) -->
            <p id="logo"><a href="#"><?php echo $this->Html->image('logo.gif', array('alt' => 'logo')) ?></a></p>

            <!-- Search -->
            <form action="#" method="get" id="search">
                <fieldset>
                    <legend>Busqueda</legend>
                    <p>
                        <input type="text" size="17" name="" class="input-text" />
                        &nbsp;
                        <input type="submit" value="BUSCAR" class="input-submit-02" />
                </fieldset>
            </form>
        </div>
        <!-- /padding -->

        <ul class="box">
            <li><a href="#"><?php echo $this->Html->link('Lista de Clientes', '/clientes/index'); ?></a></li>
            <li id="submenu-active"><a href="#">Registrar Nuevo Cliente</a></li>
        </ul>

    </div>
    <!-- /aside -->

    <hr class="noscreen" />

    <!-- Content (Right Column) -->
    <div id="content" class="box">
        <h1>Insertar nuevo Cliente</h1>
        <!-- Form -->


        <fieldset>
            <legend>Insertar nuevo Cliente</legend>
            <?php echo $this->Form->create('Cliente'); ?>
            <table class="nostyle">

                <tr>
                    <td style="width:120px;">Nombre:</td>
                    <td>
                        <?php echo $this->Form->text('nombre', array('id' => 'nomb', 'size' => '50', 'class' => "validate[required]  input-text")); ?>
                    </td>
                </tr>
                <tr>
                    <td>Telefono:</td>
                    <td>
                        <?php echo $this->Form->text('telefono', array('id' => 'usu', 'size' => '50', 'class' => "input-text")); ?>
                    </td>
                <tr>
                    <td>Celular:</td>
                    <td><?php echo $this->Form->text('celular', array('id' => 'dire', 'size' => '50', 'class' => "input-text")); ?></td>
                </tr>
                <tr>
                    <td>Nit:</td>
                    <td><?php echo $this->Form->text('nit', array('id' => 'dire', 'size' => '50', 'class' => "input-text")); ?></td>
                </tr>

                <tr>

                    <td colspan="2" class="t-right">
                        <?php $option = array('Value' => 'registrar', 'class' => "input-submit"); ?>
                        <?php echo $this->Form->end($option); ?>
                    </td>
                </tr>
            </table>
        </fieldset>


        <!-- /content --> 

    </div>
    <!-- /cols -->
</div>